package com.oedtech.esl.json;


import java.io.Serializable;

public class AppJsonResult implements Serializable{
    private Integer flag;
    private String errorCode;
    private Object data;
    private String msg;

    public AppJsonResult() {
    }

    public AppJsonResult(Integer flag) {
        this.flag = flag;
    }

    public AppJsonResult(Integer flag, String errorCode, String msg) {
        this.flag = flag;
        this.errorCode = errorCode;
        this.msg = msg;
    }

    public AppJsonResult(Integer flag, Object data, String msg) {
        this.flag = flag;
        this.data = data;
        this.msg = msg;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
